package com.edmond.jyframe.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

import com.edmond.jyframe.R;
import com.edmond.jyframe.classes.GoodsComment;

import java.util.List;

/**
 * Created by edmond on 17-6-17.
 */

public class GoodsCommentAdapter extends BaseFooterAdapter<GoodsComment> {
    public GoodsCommentAdapter(Context context, List<GoodsComment> data) {
        super(context, data);
    }

    @Override
    public Footer initFooter(ViewGroup parent) {
        return new GoodsCommentFooter(getInflater().inflate(R.layout.footer_goods_comment,parent,false));
    }

    @Override
    public void bindFooter(BaseItem item) {

    }

    @Override
    public BaseItem initItem(ViewGroup parent) {
        return new GoodsCommentItem(getInflater().inflate(R.layout.item_goods_comment,parent,false));
    }

    @Override
    public void bindItem(BaseItem item, int position) {

    }

    class GoodsCommentFooter extends Footer{

        public GoodsCommentFooter(View itemView) {
            super(itemView);
        }

        @Override
        public void initViews(View view) {

        }
    }

    class  GoodsCommentItem extends Item{

        public GoodsCommentItem(View itemView) {
            super(itemView);
        }

        @Override
        public void initViews(View view) {

        }
    }
}
